package com.zy.ems.utils.exceptions;

import com.zy.ems.common.exception.BaseErrorStatus;
import com.zy.ems.common.exception.ErrorStatus;

public class MemberCode extends BaseErrorStatus {

	/**
	 * 1001 登录失败,用户名或密码错误
	 */
	public static final ErrorStatus mem_1001 = new MemberCode(1001, "登录失败,用户名或密码错误!");

	/**
	 * 1002 用户名密码为必填项!
	 */
	public static final ErrorStatus mem_1002 = new MemberCode(1002, "用户名密码为必填项!");

	/**
	 * 1003 联系方式和邮箱必填!
	 */
	public static final ErrorStatus mem_1003 = new MemberCode(1003, "联系方式和邮箱必填!");

	protected MemberCode(int code, String codeText) {
		super(1000, codeText);
	}

}
